package mhwi.constants;

import mhwi.characters.TaiDaoHunter;
import mhwi.helper.ModHelper;

import static mhwi.constants.ResourcesConstant.*;

public class CharacterConstants {
    private static final String BG_ATTACK = "bg_attack";
    private static final String BG_SKILL = "bg_skill";
    private static final String BG_POWER = "bg_power";


    // 人物选择界面按钮的图片
    // 太刀
    public static final String CHARACTER_BUTTON_TAIDAO =
            ModHelper.makeFileName(PATH_IMG_CHAR, TaiDaoHunter.class.getSimpleName(), "_button", EXTENSION_PNG);

    // 人物选择界面的立绘
    // 太刀
    public static final String CHARACTER_PORTRAIT_TAIDAO =
            ModHelper.makeFileName(PATH_IMG_CHAR, TaiDaoHunter.class.getSimpleName(), "_portrait.png");

    // 在卡牌和遗物描述中的能量图标
    public static final String SMALL_ORB = ModHelper.makePath(PATH_IMG_CHAR, "small_orb.png");
    // 攻击牌的背景（小尺寸）
    public static final String BG_ATTACK_512 = ModHelper.makeFileName(PATH_IMG_512, BG_ATTACK, EXTENSION_PNG);
    // 能力牌的背景（小尺寸）
    public static final String BG_POWER_512 = ModHelper.makeFileName(PATH_IMG_512, BG_POWER, EXTENSION_PNG);
    // 技能牌的背景（小尺寸）
    public static final String BG_SKILL_512 = ModHelper.makeFileName(PATH_IMG_512, BG_SKILL, EXTENSION_PNG);
    // 攻击牌的背景（大尺寸）
    public static final String BG_ATTACK_1024 = ModHelper.makeFileName(PATH_IMG_1024, BG_ATTACK, EXTENSION_PNG);
    // 能力牌的背景（大尺寸）
    public static final String BG_POWER_1024 = ModHelper.makeFileName(PATH_IMG_1024, BG_POWER, EXTENSION_PNG);
    // 技能牌的背景（大尺寸）
    public static final String BG_SKILL_1024 = ModHelper.makeFileName(PATH_IMG_1024, BG_SKILL, EXTENSION_PNG);
    // 在卡牌预览界面的能量图标
    public static final String BIG_ORB = ModHelper.makeFileName(PATH_IMG_CHAR, "card_orb", EXTENSION_PNG);
    // 小尺寸的能量图标（战斗中，牌堆预览）
    public static final String ENEYGY_ORB = ModHelper.makeFileName(PATH_IMG_CHAR, "cost_orb", EXTENSION_PNG);

    // 火堆的人物立绘（行动前）
    public static final String HUNTER_SHOULDER_1 = ModHelper.makePath(PATH_IMG_CHAR, "shoulder1.png");
    // 火堆的人物立绘（行动后）
    public static final String HUNTER_SHOULDER_2 = ModHelper.makePath(PATH_IMG_CHAR, "shoulder2.png");
    // 人物死亡图像
    public static final String HUNTER_CORPSE = ModHelper.makePath(PATH_IMG_CHAR, "corpse.png");
    public static final String IMG_VFX = ModHelper.makePath(PATH_IMG_UI_ORB, "vfx.png");

    // 战斗界面左下角能量图标的每个图层
    public static final String[] ORB_TEXTURES = new String[]{
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer5.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer4.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer3.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer2.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer1.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer6.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer5d.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer4d.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer3d.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer2d.png"),
            ModHelper.makePath(PATH_IMG_UI_ORB, "layer1d.png"),
    };
    // 每个图层的旋转速度
    public static final float[] LAYER_SPEED = new float[]{-40.0F, -32.0F, 20.0F, -20.0F, 0.0F, -10.0F, -8.0F, 5.0F, -5.0F, 0.0F};
}
